package com.lg.erp.entity.zhangchaofu;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_cargo")
public class CTCargo implements Serializable {
  private static final long serialVersionUID = 1L;

  @TableId(type = IdType.ASSIGN_UUID)
  private String id;
  private String cargoNo;
  private String shelvesId;
  private String damId;
  private String wareId;
  private String productNo;
  private String product;
  private java.sql.Timestamp creatTime;
  private long batch;
  private String status;
  private String iomNo;
  private String companyId;
  private String lCode;
  private String remark;

  @TableField(exist = false)
  List<CTShelves> tShelves;

  @TableField(exist = false)
  List<CTCargoArea> tCargoAreas;

  @TableField(exist = false)
  List<CTWare> tWares;
}
